package com.example.blog.enumcode;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;


@AllArgsConstructor
public enum EnumCode {
    SUCCESS(200),
    FAILURE(0),
    NOLOGIN(-1),
    NULLRESOURCE(-2),
    ;

    @Getter
    int code;
}
